package com.weixing.mall.provider.model.dto.ads;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @Author wx
 * @Date 2019/8/15 15:27
 * @Version 1.0
 */
@Data
public class MediaTypeDto {
    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "分类名称")
    @NotNull(message = "分类名称不能为空")
    private String mediaName;
}
